<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: ThundeRobot
  Date: 2021/1/7
  Time: 15:51
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>modify</title>
</head>
<script type="text/javascript" src="${pageContext.request.contextPath}/static/js/jquery-1.8.3.min.js"> </script>
<script type="text/javascript" src="${pageContext.request.contextPath}/static/js/modify.js"> </script>
<body>
<%--判断是否登录--%>
<c:if test="${empty dev_user}">
    <jsp:forward page="login.jsp"/>
</c:if>
<form method="post"  action="#">
    <table align="center" border="1px" width="400px" height="400px">
        <tr align="center">
            <td colspan="2"><h2>修改账号</h2><input type="hidden" name="id" id="id" value="${dev_user.id}"/></td>
        </tr>
        <tr align="center">
            <td>账号：</td>
            <td>
                <input type="text" name="devCode" id="devCode" value="${dev_user.devCode}"/>
                <span></span>
            </td>
        </tr>
        <tr align="center">
            <td>昵称：</td>
            <td><input type="text" name="devName" id="devName" value="${dev_user.devName}"/><span></span></td>
        </tr>
        <tr align="center">
            <td>密码：</td>
            <td><input type="password" name="devPassword" id="devPassword" value="${dev_user.devPassword}"/><span></span></td>
        </tr>
        <tr align="center">
            <td>邮箱：</td>
            <td><input type="email" name="devEmail" id="devEmail" value="${dev_user.devEmail}"/><span></span></td>
        </tr>
        <tr align="center">
            <td>信息：</td>
            <td><input type="text" name="devInfo" id="devInfo" value="${dev_user.devInfo}"/><span></span></td>
        </tr>
        <tr align="center">
            <td colspan="2">
                <input type="button" value="提交" class="submit"/>
                <input type="reset" value="重置"/>
            </td>
        </tr>
    </table>
</form>
</body>
</html>
